package com.xianda.spring.service;

import com.xianda.spring.entity.TUser;
import com.xianda.spring.mapper.TUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    private TUserMapper tUserMapper;

    public int insertUser(TUser tuser) {
        return tUserMapper.insertUser(tuser);
    }

    public TUser findTUserById(String id) {
        return tUserMapper.findTUserById(id);
    }
}
